package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.CheckItem;


/*服务接口*/

public interface CheckItemService {
    //增加检查项
    public Result add(CheckItem checkItem);

    //分页查询
    public PageResult findPage(QueryPageBean queryPageBean);

    //删除操作
    public void deleteById(int id);

    //编辑检查项
    public Result edit(CheckItem checkItem);

    //查询检查项
    public CheckItem findById(Integer id);
    //查询全部检查项
    public Result findAll();



}
